{% extends 'myadmin/base/obj_list.html' %}
{% load static %}
{% block search_form %}

{% endblock %}
{% block add_button %}
 <button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#modal-add"
{#                        href="/myadmin/menu/">添加#}
                        href="/myadmin/coursebagnameadd/">添加
                </button>
{% endblock %}

{% block table_content %}

    <tr>
        <th>#</th>
        <th>课件包名称</th>

    </tr>
    {% for obj in page_obj %}
        <tr>
            <td style="width: 40px" data-url="{% url 'myadmin:coursebag_update' obj.id %}"><a href="#">{{ forloop.counter }}</a></td>

            <td>{{ obj.name }}</td>

        </tr>
    {% endfor %}


     <div class="modal fade" id="modal-add" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">


            </div>
        </div>
    </div>
{% endblock %}
